< W i n d o w   x : C l a s s = " X a m l P r o j . W i n d o w 1 " 
 
         x m l n s = " h t t p : / / s c h e m a s . m i c r o s o f t . c o m / w i n f x / 2 0 0 6 / x a m l / p r e s e n t a t i o n " 
 
         x m l n s : x = " h t t p : / / s c h e m a s . m i c r o s o f t . c o m / w i n f x / 2 0 0 6 / x a m l " 
 
         T i t l e = " X a m l P r o j " > 
 
 
 
     < G r i d > 
 
         < B u t t o n   N a m e = " m y B u t t o n "   C l i c k = " I n l i n e C l i c k H a n d l e r " > C l i c k ! < / B u t t o n > 
 
 
 
     < / G r i d > 
 
     < x : C o d e > < ! [ C D A T A [ 
 
         v o i d   I n l i n e C l i c k H a n d l e r ( o b j e c t   s e n d e r ,   R o u t e d E v e n t A r g s   e )   { 
 
             m y B u t t o n . B a c k g r o u n d   =   B r u s h e s . B l u e ; 
 
         } 
 
     ] ] > < / x : C o d e > 
 
 < / W i n d o w > 
 
 
 
 